package com.yyy.springdata.jpa;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import com.yyy.model.Proxy;

public interface ProxyJpaDao extends JpaRepository<Proxy, Integer>{
	
	@Query("from Proxy p where p.disguiser = ?1")
	public List<Proxy> findByDisguiser(String disguiser);
	
}
